<?php
include(DOCINCLUDES."global_files/global_html.inc");
include(DOCINCLUDES."global_files/global_form.inc");
include(DOCINCLUDES."global_files/db_class.inc");
include(DOCINCLUDES."global_files/global_pgsql.inc");
include(DOCINCLUDES."global_files/global_validations.inc");
include(DOCINCLUDES."libraries/function_masters.inc");
include(DOCINCLUDES."smarty/Smarty.class.php");
//object to hold localisation strings
$file_name="master.php";

$form = new cForm();
$db     = new cDatabase($company_id);
$sql    = new pgSql();
$de=new dbDataEntry();
$de->db=$db;

$db->setSearchPath();
$dv=new cDataValidation();
$page=new cPage();
$page->header_path="../../";
// $smarty=new Smarty();
// $smarty->template_dir = "../../includes/smarty/templates";
// $smarty->compile_dir = "../../includes/smarty/templates_c";
?>